package route

import (
	"github.com/gin-gonic/gin"
	"net/http"
)

func Test(en *gin.Engine) {
	test := en.Group("/test")
	{
		test.GET("/get", testGet)
		test.PUT("/put", testPut)

	}
}

func testGet(c *gin.Context) {
	c.String(http.StatusOK, "testGet!")
}
func testPut(c *gin.Context) {
	c.String(http.StatusOK, "testPut!")
}
